package com.guass.nettyprotostuff.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author guass
 * @date 2022年03月09日 14:14
 */
@Component
@Data
@ConfigurationProperties(prefix = "zk.info")
public class ZKProperties {

    private String connectString;

    private String path;

    private int session_timeout_ms;

    private int connection_timeout_ms;

    private int baseSleepTimeMs;

    private int maxRetries;
}
